﻿using System.Threading;
using Microsoft.VisualStudio.TestPlatform.Core;
using Microsoft.VisualStudio.TestPlatform.TestExecutor;
using vstest_executionengine_platformbridge;

namespace WP.IO.Tests
{
    public partial class MainPage
    {
        public MainPage()
        {
            InitializeComponent();

            TestExecutorServiceWrapper wrapper = new TestExecutorServiceWrapper();
            new Thread(new ServiceMain((param0, param1) => wrapper.SendMessage((ContractName)param0, param1)).Run).Start();
        }
    }
}